// react-select 样式兼容至UI规范, 参考 https://deploy-preview-2289--react-select.netlify.com/styles
.react-select {
  font-size: 12px;
  // 控制条
  &__control {
    height: $select-height;
    min-height: $select-height;
    border-radius: 0;
    background-color: #fff;
    &--is-focused {
      &:hover {
        border-color: $border-color;
      }
      box-shadow: none;
      border-color: $border-color;
    }
  }

  // 分隔符
  &__indicator-separator {
    display: none;
  }

  // 菜单
  &__menu {
    margin-top: 5px;
    border-radius: 0;
  }
  // 菜单选项
  &__option {
    min-height: $select-height;
    height: $select-height;
    &--is-focused {
      background-color: #e8e8e8;
      color: $primary-color;
    }
    &--is-selected {
      color: $primary-color;
      background-color: #fff;
      &:hover {
        background-color: #e8e8e8;
      }
    }
    &:active {
      background-color: #e8e8e8;
    }
  }
}
